package STUDENT.TRINHQUANGXUANDUC.OPPS.POUNDCONVERT;

public class Controllers {
	Models p_models = new Models();

	/***
	 * Controller Nghiep Vu chuyen doi pound
	 * 
	 * @param obj
	 *            Truyen vao mot doi tuong
	 * @return tra ve kieu double
	 */
	public double Convert(PoundObject obj) {
		if (p_models.CheckKilogram(obj)) {
			return p_models.PoundConvert(obj);
		}
		return 0;
	}
}
